home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / aa_Intel_Only / Gnuplot / Unused / Makefile < prev    next >
Encoding:
Makefile  |  1995-06-12  |  31.8 KB  |  879 lines

  1. #
  2. # $Id: makefile.unx%v 3.38.2.118 1993/04/19 23:22:02 woo Exp woo $
  3. #
  4. #
  5. ############################################################
  6. #
  7. # GNUPLOT 3.0 Makefile (Unix X11 support) for
  8. #  Apollo/Sun/Dec5000/IBMrs6000/HP9000/SGI/3B1/386IX/Cray
  9. #
  10. # Original version by:
  11. #   oliveria@caen.engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA)
  12. #   Wed, 3 Jul 91 14:31:37 -0400
  13. #
  14. #>>> Customizing: You must customize part of this makefile for your site.
  15. #>>> Then type 'make' for further instructions.
  16. #>>> Customization instructions look like these lines do (#>>>).
  17. #
  18.  
  19. .NOEXPORT:
  20.  
  21. TARGET = All# What to make by default
  22.  
  23. ############################################################
  24. #>>> Decide where the binaries and manuals will go.
  25. # directory where to install executables on 'make install'
  26. DEST=/usr/local/bin
  27. # directory for installing man page on 'make man_install'.
  28. MANDEST=/usr/local/man/manl
  29. # where to install help file gnuplot.gih
  30. HELPDEST=/usr/local/lib
  31. #HELPDEST=docs/gnuplot.gih
  32. # Where to send email about bugs and comments (locally)
  33. EMAIL=bug-gnuplot@dartmouth.edu
  34.  
  35. ############################################################
  36. #>>> Some machines may need MAKE to be defined explicitly
  37. MAKE    = make
  38. #>>> Choose your C compiler and basic compiler flags.
  39. # the C compiler
  40. CC     = cc
  41. # -O if you trust your compiler's optimizer
  42. COPTS  = -O
  43. # default loading command
  44. LD     = $(CC) $(CFLAGS)
  45. NPROC  = 2
  46. RCSVER = 3.38.2.50
  47. RCSCOM = "D. Lewart's RS6000 fixes"
  48. #
  49. ############################################################
  50. #>>> Choose some optional features.
  51. #>>> At this point there are only two optional features:
  52. # READLINE:
  53. #   If READLINE is defined, then command-line editing is supported.
  54. #   Otherwise, your normal terminal editing is all you get.
  55. #   Some machines will not support this, and they will turn this
  56. #   option off (for example, apollos running SR10.2 or SR10.3 and
  57. #   loaded with BSD4.3 instead of SYS5). Note: problems with
  58. #   gnuplot prompts have been noted when this feature is selected
  59. #   on IBM RS/6000 AIX, and compile errors are encountered on
  60. #   Sequent Dynix 3 and Convex OS 9.0.
  61. # NOCWDRC:
  62. #   If NOCWDRC is defined, then any .gnuplot in the current directory
  63. #   is not read on startup. This is a security consideration
  64. #   especially for root users ( we recommend you define -DNOCWDRC ).
  65. OPTIONS = -DREADLINE -DNOCWDRC
  66.  
  67. #>>> Optionally install the lasergnu script.
  68. # Lasergnu is a handy shell script for creating a plot from the
  69. # command line and sending it directly to the printer. It currently
  70. # supports PostScript and imagen printers, and probably would need
  71. # tailoring to your site.
  72. # Use lasergnu_install to install lasergnu.
  73. # Use lasergnu_noinstall to not install lasergnu (default).
  74. LASERGNU = lasergnu_install
  75.  
  76. ############################################################
  77. # X11 support
  78. #
  79.  
  80. #>>> List your X11 libraries
  81. X11LIBS = -lX11
  82.  
  83. #>>> List where the X11 include directory is found (if other than /usr/include)
  84. X11INCLUDES =
  85.  
  86. #>>> List additional CFLAGS for X11 compilation
  87. # -DOLD_SELECT if you have an old 4.2 BSD OS (e.g. Sun OS 3.5) and
  88. #   encounter compile error for missing include file <sys/select.h>
  89. # -DBSD_TYPES if your system defines FD_* macros for select in
  90. #   <sys/bsdtypes.h>
  91. # -DOW_BOTCH if you encounter load error for missing _XtInherit on Sun
  92. #   Open Windows platforms
  93. # -ISC22 to circumvent missing plots past the first on ISC 2.2
  94. X11FLAGS =
  95.  
  96. #>>> You shouldn't have to change these, since they are controlled by
  97. #>>> Machine dependent definitions below.
  98. #       Compile option for plot.c and TERMFLAGS, to include X11 support
  99. PLOTXFLAG = -DX11
  100. #       make gnuplot_x11 by default
  101. GNUPLOT_X11 = gnuplot_x11
  102. #       install gnuplot_x11 by default
  103. X11INSTALL = x11_install
  104.  
  105. ############################################################
  106. #>>> Okay, you've changed enough. Now type 'make'.
  107.  
  108. ############################################################
  109. # This is used to pass many of the above definitions to make
  110. # subprocesses. Don't change this.
  111. MY_FLAGS  = CC="$(CC)" COPTS="$(COPTS)" DEST="$(DEST)" \
  112.         MANDEST="$(MANDEST)" HELPDEST="$(HELPDEST)" \
  113.         EMAIL="$(EMAIL)" LASERGNU="$(LASERGNU)"
  114.  
  115. ############################################################
  116. # Explanations of CFLAGS definitions.
  117. #  These should not need to be changed by you.
  118. # They are set correctly for each machine below. If your machine
  119. # doesn't fit the one of the patterns, override on the make command
  120. # line or make a new target for it and a new _FLAGS definition.
  121. #  -DNOVFORK if you're unix and you have don't have vfork()
  122. #  -DMEMSET if you need to use memset() instead of bzero()
  123. #  -DMEMCPY if your bcopy() is called memcpy()
  124. #  -DNOCOPY if you don't have a memcpy() by any name
  125. #  -DGAMMA=foo if your gamma function is called foo(). Apollos have
  126. #    lgamma(3m). The default is -DGAMMA=gamma.
  127. #  -DGETCWD if your unix uses getcwd() instead of getcd()
  128. #    this is needed by HP-UX and Cray Unicos systems.
  129. #  -DULTRIX_KLUDGE if you run X windows on Ultrix and experience the
  130. #    "every other plot" problem.
  131. #  -DCRIPPLED_SELECT if "select errors" are encountered with X. This
  132. #    option is needed on SVR3 platforms with incomplete support for
  133. #    the BSD select() system call
  134. #  -DXPG3_LOCALE if your system uses the 'setlocale' function to
  135. #    support foreign charactersets (currently only ISO8859-1).
  136. #  -Dunix is required to explicitly define "unix" for SCO and IBM
  137. #          RS/6000 running AIX 3.2
  138. #  -fswitch if you are compiling on a Sun3 (or even -f68881)
  139. #    (but -fswitch is buggy on some systems, so watch out)
  140.  
  141. # Defaults in case the user types 'make All' directly
  142. # Should match X11_FLAGS's CFLAGS definition
  143. CFLAGS = $(COPTS) $(OPTIONS)
  144.  
  145. ############################################################
  146. # Terminal (device) support
  147. #
  148. # All devices available to a given machine are compiled in by default.
  149. # This documents the flags available in TERMFLAGS, although TERMFLAGS
  150. # is usually controlled by the machine-dependent definitions below.
  151. # See other terminal defines in term.h.
  152. # Define ULTRIX_KLUDGE if you have the every-other plot problem in Ultrix X11.
  153. #
  154. # -DAPOLLO      Apollo Graphics Primitive Resource (window resize after replot)
  155. # -DGPR         Apollo Graphics Primitive Resource (fixed-size window)
  156. # -DCGI         SCO CGI
  157. # -DIRIS4D      IRIS4D series computer
  158. # -DSUN         Sun Microsystems Workstation
  159. # -DUNIXPC      unixpc (ATT 3b1 or ATT 7300)
  160. # -DUNIXPLOT    unixplot
  161. # -DGNUGRAPH    use GNU graphics version of UNIX plot library
  162. #        This can only be used in combination with -DUNIXPLOT
  163. # -DX11         X11 Window System (This is $(PLOTXFLAG))
  164. TERMFLAGS = -Iterm $(PLOTXFLAG)
  165.  
  166. ############################################################
  167. # Library explanations.
  168. #  You shouldn't need to adjust this; again, it is handled by the
  169. # machine-dependent definitions below.
  170. #
  171. #  -lplot if you have -DUNIXPLOT in TERMFLAGS
  172. #  -lsuntool -lsunwindow -lpixrect  if you have -DSUN in TERMFLAGS
  173. #  -lgl_s if -DIRIS4D in TERMFLAGS
  174. #  -lccgi if -DCGI in TERMFLAGS
  175. LIBS = -lm# -lplot  (this library is no longer shipped on SUN systems)
  176.  
  177. ####################################################################
  178. # List of object files except version.o
  179. OBJS = bitmap.o command.o contour.o eval.o graphics.o graph3d.o help.o \
  180.        internal.o misc.o parse.o plot.o readline.o scanner.o \
  181.        setshow.o specfun.o standard.o term.o util.o gnubin.o binary.o
  182.  
  183. NEXTOBJS = epsviewe.o
  184. ############################################################
  185. # Machine-dependent settings.
  186. #
  187. X11_FLAGS = \
  188.            CFLAGS="$(COPTS) $(OPTIONS)" \
  189.            LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  190.            X11LIBS="$(X11LIBS)" \
  191.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  192.            X11INSTALL="$(X11INSTALL)" \
  193.            TERMFLAGS="$(TERMFLAGS)"
  194.  
  195. DEC_OSF_FLAGS = \
  196.            CFLAGS="$(COPTS) $(OPTIONS) -I/usr/sys/include -I/usr/sys/BINARY -DANSI -DNOVFORK -DNOGAMMA -D_XOPEN_SOURCE " \
  197.            LIBS="$(LIBS)" \
  198.            X11FLAGS="$(X11FLAGS) -DMOTIF -D_NO_PROTO -D_OSF_SOURCE" \
  199.            X11INCLUDES="$(X11INCLUDES) -I/usr/include/Xm" \
  200.            X11LIBS="$(X11LIBS)" \
  201.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  202.            X11INSTALL="$(X11INSTALL)" \
  203.            TERMFLAGS="$(TERMFLAGS) "
  204.  
  205. DEC_FLAGS = \
  206.            CFLAGS="$(COPTS) $(OPTIONS) " \
  207.            LIBS="-lplot $(LIBS)" X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  208.            X11LIBS="$(X11LIBS)" \
  209.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  210.            X11INSTALL="$(X11INSTALL)" \
  211.            TERMFLAGS="$(TERMFLAGS) -DULTRIX_KLUDGE"
  212.  
  213. APOLLO_FLAGS = \
  214.            CFLAGS="$(COPTS) $(OPTIONS) -DGAMMA=lgamma" \
  215.            LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" \
  216.            X11INCLUDES="$(X11INCLUDES)" \
  217.            X11LIBS="-L/usr/lib/X11 -lX11" \
  218.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  219.            X11INSTALL="$(X11INSTALL)" \
  220.            TERMFLAGS="$(TERMFLAGS) -DAPOLLO -DGPR"
  221.  
  222. HP_FLAGS = \
  223.            CFLAGS="$(COPTS) $(OPTIONS) -DMEMSET -DMEMCPY -DGETCWD" \
  224.            LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
  225.            X11INCLUDES="-I/usr/include/X11R4" \
  226.            X11LIBS="-L/usr/lib/X11R4 -lX11" \
  227.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  228.            X11INSTALL="$(X11INSTALL)" \
  229.            TERMFLAGS="-Iterm -DX11"
  230.  
  231. SOLARIS_X11_FLAGS = \
  232.            CFLAGS="$(COPTS) $(OPTIONS) -DMEMSET -DMEMCPY -DGETCWD -DSOLARIS" \
  233.            X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  234.            X11LIBS="$(X11LIBS)" \
  235.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  236.            X11INSTALL="$(X11INSTALL)" \
  237.            TERMFLAGS="$(TERMFLAGS) -DSOLARIS"
  238.  
  239. SUN_FLAGS = \
  240.            CFLAGS="$(COPTS) $(OPTIONS) -DSUN" \
  241.            LIBS="-lsuntool -lsunwindow -lpixrect $(LIBS)" \
  242.            X11FLAGS=" " X11INCLUDES=" " \
  243.            X11LIBS=" " \
  244.            PLOTXFLAG=" " GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  245.            TERMFLAGS="-Iterm"
  246.  
  247. SUN_X11_FLAGS = \
  248.            CFLAGS="$(COPTS) $(OPTIONS) -DSUN" \
  249.            LIBS="-lsuntool -lsunwindow -lpixrect $(LIBS)" \
  250.            X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  251.            X11LIBS="$(X11LIBS)" \
  252.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  253.            X11INSTALL="$(X11INSTALL)" \
  254.            TERMFLAGS="$(TERMFLAGS)"
  255.  
  256. SGI_FLAGS = \
  257.            CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
  258.            LIBS="-lgl_s -lm" X11FLAGS=" " X11INCLUDES=" " \
  259.            X11LIBS=" " \
  260.            PLOTXFLAG=" " GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  261.            TERMFLAGS="-Iterm -DIRIS4D"
  262.  
  263. SGIX11_FLAGS = \
  264.            CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
  265.            LIBS="-lgl_s -lm -lc_s" X11FLAGS="$(X11FLAGS)" \
  266.            X11INCLUDES="$(X11INCLUDES)" \
  267.            X11LIBS="-L/usr/lib/X11 -lX11" \
  268.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  269.            X11INSTALL="$(X11INSTALL)" \
  270.            TERMFLAGS="-Iterm -DX11 -DIRIS4D"
  271.  
  272. CGI_FLAGS = \
  273.            CFLAGS="$(COPTS) $(OPTIONS) -Dunix" \
  274.            LIBS="-lccgi $(LIBS)" X11FLAGS=" " X11INCLUDES=" " \
  275.            X11LIBS=" " PLOTXFLAG=" " GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  276.            TERMFLAGS="-Iterm -DUNIXPLOT -DCGI"
  277.  
  278. 3B1_FLAGS = \
  279.            CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DMEMSET -DMEMCPY -DNOVFORK" \
  280.            LIBS="$(LIBS)" X11FLAGS=" " X11INCLUDES=" " \
  281.            X11LIBS=" " \
  282.            PLOTXFLAG=" " GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  283.            LD="ld /lib/crt0s.o /lib/shlib.ifile" \
  284.            TERMFLAGS="-Iterm -DUNIXPC"
  285.  
  286. 3B2_FLAGS = \
  287.            CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DMEMSET -DMEMCPY -DNOVFORK" \
  288.            X11FLAGS=" " X11INCLUDES=" " \
  289.            X11LIBS=" " \
  290.            PLOTXFLAG=" " GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  291.            TERMFLAGS="-Iterm -DUNIXPLOT" LIBS="$(LIBS) -lplot"
  292.  
  293. 386IX_FLAGS = \
  294.            CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DMEMSET -DMEMCPY -DNOVFORK -DTCSETSW -DTCGETS" \
  295.            LIBS="$(LIBS) -lcposix" X11FLAGS=" " X11INCLUDES=" " \
  296.            X11LIBS=" " PLOTXFLAG=" " GNUPLOT_X11=" " \
  297.            X11INSTALL=x11_noinstall \
  298.            TERMFLAGS="-Iterm -DUNIXPLOT"
  299.  
  300. 386IX_X11_FLAGS = \
  301.            CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DMEMSET -DMEMCPY -DNOVFORK -DTCSETSW -DTCGETS" \
  302.            LIBS="$(LIBS) -lcposix" X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  303.            X11LIBS="$(X11LIBS)" PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11="$(GNUPLOT_X11)" \
  304.            X11INSTALL= "$(X11INSTALL)" \
  305.            TERMFLAGS="-Iterm -DUNIXPLOT -DX11"
  306.  
  307. ISC22_X11_FLAGS = \
  308.            CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DMEMSET -DMEMCPY -DNOVFORK -DISC22" \
  309.            LIBS="$(LIBS) -lplot -lcposix" X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  310.            X11LIBS="$(X11LIBS) -linet -lpt -lcposix" PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11="$(GNUPLOT_X11)" \
  311.            X11INSTALL= "$(X11INSTALL)" \
  312.            TERMFLAGS="-Iterm -DUNIXPLOT -DX11"
  313.  
  314. AIX_FLAGS = \
  315.            CFLAGS="$(COPTS) $(OPTIONS) -DGAMMA=gamma -DXPG3_LOCALE -Dunix -qmaxmem=8000" \
  316.            LIBS="$(LIBS) -lbsd" X11FLAGS="$(X11FLAGS)" \
  317.            X11INCLUDES="$(X11INCLUDES)" \
  318.            X11LIBS="$(X11LIBS)" \
  319.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  320.            X11INSTALL="$(X11INSTALL)" \
  321.            TERMFLAGS="$(TERMFLAGS)"
  322.  
  323. NEXT_FLAGS = \
  324.            CFLAGS="$(COPTS) -DGAMMA=lgamma -DNEXT -DREADLINE -DSGTTY" \
  325.            LIBS="-lNeXT_s -lsys_s -lm" \
  326.            X11FLAGS="$(X11FLAGS)" \
  327.            X11INCLUDES=" " X11LIBS=" " PLOTXFLAG=" " \
  328.            GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  329.            TERMFLAGS="-Iterm -ObjC" OBJS=" $(OBJS) $(NEXTOBJS)"
  330.  
  331. NEXT_X11_FLAGS = \
  332.            CFLAGS="$(COPTS) -DGAMMA=lgamma -DNEXT -DREADLINE -DSGTTY -DX_NOT_POSIX" \
  333.            LIBS="-lNeXT_s -lsys_s -lm" \
  334.            X11LIBS="-L/usr/lib/X11 -lX11" \
  335.            X11INCLUDES="$(X11INCLUDES)" X11FLAGS="$(X11FLAGS)" \
  336.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  337.            X11INSTALL="$(X11INSTALL)" \
  338.            TERMFLAGS="-Iterm -DX11 -ObjC" OBJS=" $(OBJS) $(NEXTOBJS)"
  339.  
  340. CRAY_FLAGS = \
  341.        CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
  342.        LIBS="-lm" X11FLAGS=" " \
  343.        X11INCLUDES=" " \
  344.        X11LIBS=" " \
  345.        PLOTXFLAG=" " GNUPLOT_X11=" " \
  346.        X11INSTALL=x11_noinstall \
  347.        TERMFLAGS="-Iterm"
  348.  
  349. CRAY_X11_FLAGS = \
  350.        CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
  351.        LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
  352.        X11INCLUDES="$(X11INCLUDES)" \
  353.        X11LIBS="$(X11LIBS)" \
  354.        PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11="$(GNUPLOT_X11)" \
  355.        X11INSTALL=$(X11INSTALL) \
  356.        TERMFLAGS="-Iterm -DX11"
  357.  
  358. PTX_X11_FLAGS = \
  359.        CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DMEMSET -DMEMCPY -DCRIPPLED_SELECT" \
  360.        LIBS="-lm -lplot" X11FLAGS="$(X11FLAGS)" \
  361.        X11INCLUDES="$(X11INCLUDES)" \
  362.        X11LIBS="-lX11 -lseq -lsocket -linet -lnsl" \
  363.        PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11="$(GNUPLOT_X11)" \
  364.        X11INSTALL=$(X11INSTALL) \
  365.        TERMFLAGS="$(TERMFLAGS)"
  366.  
  367. SEQUENT_X11_FLAGS = \
  368.        CFLAGS="$(COPTS) $(OPTIONS) -DSGTTY -DCRIPPLED_SELECT" \
  369.        LIBS="-lm -lplot" X11FLAGS="$(X11FLAGS) -DX_WCHAR" \
  370.        X11INCLUDES="$(X11INCLUDES)" \
  371.        X11LIBS="-lX11 -lseq " \
  372.        PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11="$(GNUPLOT_X11)" \
  373.        X11INSTALL=$(X11INSTALL) \
  374.        TERMFLAGS="$(TERMFLAGS)"
  375.  
  376. CONVEX_X11_FLAGS = \
  377.            CFLAGS="$(COPTS) $(OPTIONS) -DHUGE=8.9e307" \
  378.            LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  379.            X11LIBS="$(X11LIBS)" \
  380.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  381.            X11INSTALL="$(X11INSTALL)" \
  382.            TERMFLAGS="$(TERMFLAGS)"
  383.  
  384. KSR_FLAGS = \
  385.            CFLAGS="$(COPTS) $(OPTIONS) -I/usr/sys/include -I/usr/sys/BINARY -DANSI -DNOVFORK -DNOGAMMA -D_XOPEN_SOURCE -DKSR" \
  386.            LIBS="$(LIBS)" \
  387.            X11FLAGS="$(X11FLAGS) -DMOTIF -D_NO_PROTO -D_OSF_SOURCE" \
  388.            X11INCLUDES="$(X11INCLUDES) -I/usr/include/Xm" \
  389.            X11LIBS="$(X11LIBS)" \
  390.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  391.            X11INSTALL="$(X11INSTALL)" \
  392.            TERMFLAGS="$(TERMFLAGS) "
  393.  
  394. LINUX_FLAGS = \
  395.            CFLAGS="$(COPTS) $(OPTIONS) -m486" \
  396.            LIBS="-L/usr/lib/shlib/jump -lXt -lXaw -lX11 -lXext -lXmu $(LIBS)" \
  397.            X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  398.            X11LIBS="$(X11LIBS)" \
  399.            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  400.            X11INSTALL="$(X11INSTALL)" \
  401.            TERMFLAGS="$(TERMFLAGS)"
  402.  
  403. ####################################################################
  404. # List of source files
  405. # Used for making shar files, lint, and some dependencies.
  406. DIRS = term demo docs docs/latextut
  407.  
  408. CSOURCE1 = bf_test.c binary.c command.c setshow.c
  409. CSOURCE2 = help.c gnubin.c graphics.c graph3d.c internal.c
  410. CSOURCE3 = misc.c eval.c parse.c plot.c readline.c scanner.c standard.c
  411. CSOURCE4 = bitmap.c term.c util.c version.c
  412. CSOURCE5 = term/ai.trm term/amiga.trm term/aed.trm term/atari.trm \
  413.     term/bigfig.trm term/cgi.trm term/corel.trm \
  414.     term/djsvga.trm term/dumb.trm \
  415.     term/dxf.trm term/dxy.trm term/debug.trm \
  416.     term/emxvga.trm term/eepic.trm term/epson.trm term/excl.trm \
  417.     term/fig.trm term/hp26.trm term/hp2648.trm term/hpgl.trm \
  418.     term/hp500c.trm term/hpljii.trm term/metafont.trm \
  419.     term/apollo.trm term/gpr.trm term/hppj.trm term/compact.c
  420. CSOURCE6 = term/impcodes.h term/imagen.trm term/next.trm term/object.h \
  421.     term/iris4d.trm term/kyo.trm term/latex.trm term/mif.trm \
  422.     term/pbm.trm term/pslatex.trm term/gpic.trm
  423. CSOURCE7 = term/post.trm term/pstricks.trm term/qms.trm term/regis.trm \
  424.     term/rgip.trm term/sun.trm \
  425.     term/t410x.trm term/tek.trm term/texdraw.trm term/tgif.h \
  426.     term/tgif.trm term/tpic.trm \
  427.     term/unixpc.trm term/unixplot.trm \
  428.     term/v384.trm term/vws.trm term/x11.trm term/xlib.trm
  429. CSOURCE8 = contour.c specfun.c gplt_x11.c
  430. NEXTSRC  = epsviewe.m epsviewe.h
  431. # not C code, but still needed
  432.  
  433. DEMOS = demo/1.dat demo/2.dat demo/3.dat demo/contours.dem \
  434.     demo/controls.dem demo/electron.dem demo/glass.dat demo/param.dem \
  435.     demo/polar.dem demo/simple.dem demo/surface1.dem \
  436.     demo/surface2.dem demo/using.dat demo/using.dem demo/world.cor \
  437.     demo/world.dat demo/world.dem \
  438.     demo/err.dat demo/poldat.dem demo/polar.dat demo/errorbar.dem \
  439.     demo/antenna.dat demo/all.dem demo/animate.dem demo/bivariat.dem \
  440.     demo/prob.dem demo/stat.inc demo/prob2.dem demo/random.dem \
  441.     demo/discrete.dem demo/hidden.dem demo/airfoil.dem demo/gnuplot.rot\
  442.     demo/binary.dem demo/spline.dem demo/steps.dem demo/steps.dat \
  443.     demo/multimsh.dem demo/whale.dat demo/hemisphr.dat \
  444.     demo/scatter.dem demo/scatter2.dat demo/singulr.dem demo/klein.dat
  445.  
  446. ETC = Copyright 0README README.gnu README.ami makefile.unx makefile.vms \
  447.     linkopt.amg makefile.amg makefile.ami linkopt.vms buildvms.com \
  448.     lasergnu makefile.r makefile.nt 0FAQ 0BUGS\
  449.     term/README History gnuplot.el intergra.x11 0INSTALL\
  450.     README.3p2 README.3p3 README.3p4 README.pro README.nex README.x11 \
  451.     README.3d README.mf README.win
  452.  
  453. #BETA files (not standard distribution files)
  454. BETA = BETA
  455. # PC-specific files
  456. PC = corgraph.asm corplot.c header.mac hrcgraph.asm lineproc.mac \
  457.     linkopt.msc makefile.msc makefile.tc makefile.st makefile.djg \
  458.     pcgraph.asm gnuplot.def makefile.286 gnuplot.prj makefile.emx \
  459.     makefile.ztc linkopt.ztc term/fg.trm term/pc.trm
  460. WINDOWS = makefile.win makefile.msw README.win win/wcommon.h \
  461.     win/wgnuplib.c win/wgnuplib.def win/wgnuplib.h win/wgnuplib.rc \
  462.     win/wgnuplot.def win/wgnuplot.hpj win/wgnuplot.mnu win/wgnuplot.rc \
  463.     win/wgraph.c win/winmain.c win/wmenu.c win/wpause.c \
  464.     win/wprinter.c win/wresourc.h win/wtext.c win/wtext.h \
  465.     win/geticon.c docs/doc2rtf.c term/win.trm
  466. OS2 = makefile.os2 os2/makefile os2/dialogs.c os2/dialogs.h os2/gclient.c \
  467.     os2/gnuicon.uue os2/gnupmdrv.c os2/gnupmdrv.def os2/gnupmdrv.h \
  468.     os2/gnupmdrv.itl os2/gnupmdrv.rc os2/print.c docs/doc2ipf.c \
  469.     README.os2 term/pm.trm
  470.  
  471. # Documentation and help files
  472. DOCS1 = docs/makefile docs/README docs/checkdoc.c docs/doc2gih.c \
  473.     docs/doc2hlp.c docs/doc2hlp.com docs/doc2ms.c docs/doc2tex.c \
  474.     docs/gnuplot.1 docs/lasergnu.1 docs/toc_entr.sty docs/doc2info.pl \
  475.     docs/titlepag.ms docs/titlepag.tex docs/makefile.ami \
  476.     docs/doc2rtf.c
  477. DOCS2 = docs/gnuplot.doc docs/gpcard.tex 
  478. DOCS3 = docs/latextut/makefile docs/latextut/eg1.plt \
  479.     docs/latextut/eg2.plt docs/latextut/eg3.dat docs/latextut/eg3.plt \
  480.     docs/latextut/eg4.plt docs/latextut/eg5.plt docs/latextut/eg6.plt \
  481.     docs/latextut/header.tex docs/latextut/tutorial.tex \
  482.     docs/latextut/linepoin.plt
  483.  
  484. #########################################################################
  485. # Default target (informational)
  486. info:
  487.     @echo "Please do a 'make <MACHINE>' where <MACHINE> is one of the following:"
  488.     @echo
  489.     @echo "apollo       for Apollo running SR10.3 with Apollo's X11"
  490.     @echo "dec_osf      for Dec3100/5000 running DEC OSF/1 v1.0"
  491.     @echo "dec          for Dec3100/5000 running Ultrix 3.1d with MIT's X11"
  492.     @echo "hp           for HP/9000 700 series running HP/UX 8.0 with MIT's X11R4"
  493.     @echo "sun          for Sun sparcstation running SunOS 4.1 with suntools (no X11) "
  494.     @echo "sun_x11      for Sun sparcstation running SunOS 4.1 with suntools and X11 "
  495.     @echo "sgi          for Silicon Graphics IRIS4D machines (no X11) "
  496.     @echo "sgix11       for Silicon Graphics IRIS4D machines (X11) "
  497.     @echo "next         for NeXT Cube and Slab running NeXTOS 2.0+ (no X11)"
  498.     @echo "next_x11     for NeXT Cube and Slab running NeXTOS 2.0+ with X11"
  499.     @echo "3b1          for ATT 3b1 machines (no X11) "
  500.     @echo "3b2          for ATT 3b2 machines (no X11) "
  501.     @echo "386ix        for 386 machines running 386/ix (no X11)"
  502.     @echo "386ix_x11    for 386 machines running 386/ix with T.Roell X386"
  503.     @echo "isc22_x11    for 386 machines running ISC 2.2 with T.Roell X386"
  504.     @echo "ibmrs6000    for IBM RS/6000 running Aix 3.1 with IBM's X11"
  505.     @echo "x11          for a generic machine (like a sun or dec) with MIT's X11"
  506.     @echo "cray         for Cray Y-MP or Cray-2 running Unicos 6.0 or 6.1 (no X11)"
  507.     @echo "cray_x11     for Cray Y-MP or Cray-2 running Unicos 6.0 or 6.1 with X11"
  508.     @echo "ptx_x11      for Sequent Dynix/PTX with MIT X11"
  509.     @echo "sequent_x11  for Sequent Symmetry (DYNIX 3) with X11"
  510.     @echo "convex_x11   for Convex 9.0 with MIT X11"
  511.     @echo "ksr          for KSR1 running DEC OSF/1 v1.0 (use make -j 16)"
  512.     @echo "linux        for LINUX with X11 on a 486"
  513.     @echo
  514.     @echo "Examples:"
  515.     @echo
  516.     @echo "         make x11"
  517.     @echo "         make apollo"
  518.     @echo "         make apollo       OPTIONS='-DNOCWDRC' "
  519.     @echo "         make apollo       DEST='/usr/um/misc/bin' "
  520.     @echo "         make dec"
  521.     @echo "         make hp"
  522.     @echo "         make next"
  523.     @echo "         make solaris_x11"
  524.     @echo "         make sun          HELPDEST='/usr/um/misc/lib/gnuplot.gih' "
  525.     @echo "         make sun          X11INCLUDES='-I/usr/local/include' "
  526.     @echo "         make sun_x11"
  527.     @echo "         make sgi"
  528.     @echo "         make 3b1"
  529.     @echo "         make 386ix"
  530.     @echo "         make 386ix_x11"
  531.     @echo "         make isc22_x11"
  532.     @echo "         make ibmrs6000    MANDEST='/usr/um/misc/man/man1' COPTS='-O' "
  533.     @echo "         make cray"
  534.     @echo "         make cray_x11"
  535.     @echo
  536.     @echo "If you just type 'make All' , it will build gnuplot for Unix X11"
  537.     @echo "and the following variables will be used as default:"
  538.     @echo
  539.     @echo " DEST                     " $(DEST)
  540.     @echo " MANDEST                  " $(MANDEST)
  541.     @echo " HELPDEST                 " $(HELPDEST)
  542.     @echo " EMAIL                    " $(EMAIL)
  543.     @echo " CC                       " $(CC)
  544.     @echo " COPTS                    " $(COPTS)
  545.     @echo " OPTIONS                  " $(OPTIONS)
  546.     @echo " CFLAGS                   " $(CFLAGS)
  547.     @echo " LIBS                     " $(LIBS)
  548.     @echo " X11FLAGS                 " $(X11FLAGS)
  549.     @echo " X11LIBS                  " $(X11LIBS)
  550.     @echo " X11INCLUDES              " $(X11INCLUDES)
  551.     @echo " TERMFLAGS                " $(TERMFLAGS)
  552.     @echo " LASERGNU                 " $(LASERGNU)
  553.     @echo
  554.     @echo "If you are not familiar with makefiles or just want to know what"
  555.     @echo " 'make <MACHINE>' would do without actually doing anything, then type"
  556.     @echo " 'make <MACHINE> -n' "
  557.     @echo
  558.  
  559. ###############################################################
  560. # Targets for each machine
  561.  
  562. x11:
  563.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(X11_FLAGS)      $(TARGET)
  564.  
  565. dec_osf:
  566.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(DEC_OSF_FLAGS)  $(TARGET)
  567.  
  568. dec:
  569.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(DEC_FLAGS)      $(TARGET)
  570.  
  571. apollo:
  572.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(APOLLO_FLAGS)   $(TARGET)
  573.  
  574. hp:
  575.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(HP_FLAGS)       $(TARGET)
  576.  
  577. next:
  578.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(NEXT_FLAGS)     $(TARGET)
  579.  
  580. next_x11:
  581.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(NEXT_X11_FLAGS) $(TARGET)
  582.  
  583. solaris_x11:
  584.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(SOLARIS_X11_FLAGS)  $(TARGET)
  585.  
  586. sun:
  587.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(SUN_FLAGS)      $(TARGET)
  588.  
  589. sun_x11:
  590.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(SUN_X11_FLAGS)  $(TARGET)
  591.  
  592. sgi:
  593.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(SGI_FLAGS)      $(TARGET)
  594.  
  595. sgix11:
  596.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(SGIX11_FLAGS)   $(TARGET)
  597.  
  598. cgi:
  599.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CGI_FLAGS)      $(TARGET)
  600.  
  601. 3b1:
  602.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(3B1_FLAGS)      $(TARGET)
  603.  
  604. 3b2:
  605.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(3B2_FLAGS)      $(TARGET)
  606.  
  607. 386ix:
  608.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(386IX_FLAGS)    $(TARGET)
  609.  
  610. 386ix_x11:
  611.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(386IX_X11_FLAGS) $(TARGET)
  612.  
  613. isc22_x11:
  614.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(ISC22_X11_FLAGS) $(TARGET)
  615.  
  616. ibmrs6000:
  617.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(AIX_FLAGS)      $(TARGET)
  618.  
  619. cray:
  620.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CRAY_FLAGS)     $(TARGET)
  621.  
  622. cray_x11:
  623.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CRAY_X11_FLAGS) $(TARGET)
  624.  
  625. ptx_x11:
  626.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(PTX_X11_FLAGS)  $(TARGET)
  627.  
  628. sequent_x11:
  629.     make $(MFLAGS) $(MY_FLAGS) $(SEQUENT_X11_FLAGS) $(TARGET)
  630.  
  631. convex_x11:
  632.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CONVEX_X11_FLAGS) $(TARGET)
  633.  
  634. ksr:
  635.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(KSR_FLAGS)  $(TARGET)
  636.  
  637. linux:
  638.     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(LINUX_FLAGS)  $(TARGET)
  639.  
  640. #############################################################
  641. # Targets that really do something
  642.  
  643. all:
  644.     @echo "Please just type  'make'  in order to get some information on "
  645.     @echo "how to build gnuplot under Unix and the X Window System."
  646.  
  647. All: gnuplot $(GNUPLOT_X11) doc demo/binary1
  648.  
  649. gnuplot: $(OBJS) version.o
  650.     $(LD) -o gnuplot $(OBJS) version.o $(LIBS)
  651.  
  652. doc:
  653.     ( cd docs; $(MAKE) $(MFLAGS) gnuplot.gih )
  654.  
  655. gnuplot_x11: gplt_x11.c
  656.     $(CC) $(CFLAGS) $(X11FLAGS) $(X11INCLUDES) -o gnuplot_x11 \
  657.     gplt_x11.c $(X11LIBS)
  658.  
  659. demo/binary1 demo/binary2 demo/binary3: bf_test
  660.     ( cd demo; ../bf_test )
  661.  
  662. bf_test: bf_test.o binary.o
  663.     $(CC) $(CFLAGS) bf_test.o binary.o -lm -o bf_test
  664. ################################################################
  665. # Installation instructions
  666.  
  667. install:
  668.     @echo
  669.     @echo "Please do a 'make <MACHINE> TARGET=Install' where <MACHINE> is one of the following:"
  670.     @echo
  671.     @echo "apollo, dec, hp, sun, sun_x11, sgi, sgix11, cgi,"
  672.     @echo "next, next_x11, 3b1, 386ix, 386ix_x11, ibmrs6000,"
  673.     @echo "x11, cray, cray_x11, ptx_x11, sequent_x11, convex_x11"
  674.     @echo
  675.     @echo "Examples:"
  676.     @echo
  677.     @echo "         make x11          TARGET=Install "
  678.     @echo "         make apollo       TARGET=Install "
  679.     @echo "         make dec          TARGET=Install "
  680.     @echo "         make hp           TARGET=Install "
  681.     @echo "         make sun          TARGET=Install HELPDEST='/usr/um/misc/lib/gnuplot.gih' "
  682.     @echo "         make ibmrs6000    TARGET=Install MANDEST='/usr/um/misc/man/man1' COPTS='-O' "
  683.     @echo
  684. ################################################################
  685. # Installation targets
  686.  
  687. Install: All man_install $(X11INSTALL) $(LASERGNU)
  688.     cp gnuplot $(DEST)
  689.     strip $(DEST)/gnuplot
  690.     ( cd docs; $(MAKE) $(MFLAGS) install-unix HELPDEST=$(HELPDEST) )
  691.  
  692. x11_install: gnuplot_x11
  693.     cp gnuplot_x11 $(DEST)
  694.     strip $(DEST)/gnuplot_x11
  695.  
  696. x11_noinstall:
  697.     @echo "X11 not requested, so gnuplot_x11 program not installed"
  698.  
  699. man_install: docs/gnuplot.1
  700.     cp docs/gnuplot.1 $(MANDEST)
  701.  
  702. lasergnu_install: lasergnu docs/lasergnu.1
  703.     cp lasergnu $(DEST)
  704.     chmod 755 $(DEST)/lasergnu
  705.     cp docs/lasergnu.1 $(MANDEST)
  706.  
  707. lasergnu_noinstall:
  708.     @echo
  709.     @echo "Lasergnu will not be installed by default."
  710.     @echo "If you think you need the lasergnu script to print"
  711.     @echo " files on the imagen or PostScript printers, then"
  712.     @echo " type"
  713.     @echo "      'make <MACHINE> TARGET=Install LASERGNU='lasergnu_install' "
  714.     @echo
  715.     @echo "Lasergnu is really not needed since within gnuplot you can"
  716.     @echo " can create files (in impress or PostScript language) and"
  717.     @echo " print them through your favorite print command (lpr, lp, prf, ipr)."
  718.     @echo
  719.  
  720. ################################################################
  721. # Dependencies
  722.  
  723. plot.o: plot.c
  724.     $(CC) $(CFLAGS) $(PLOTXFLAG) -c plot.c
  725.  
  726. term.o: term.h term.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  727.     $(CC) $(CFLAGS) $(TERMFLAGS) -c term.c
  728.  
  729. version.o:
  730.     $(CC) $(CFLAGS) -DCONTACT=\"$(EMAIL)\" -c version.c
  731.  
  732. epsviewe.o : epsviewe.h epsviewe.m
  733.     $(CC) -ObjC -c epsviewe.m
  734.  
  735. $(OBJS): plot.h
  736.  
  737. command.o: command.c
  738.     $(CC) $(CFLAGS) -c command.c -DHELPFILE=\"$(HELPDEST)/gnuplot.gih\"
  739.  
  740. command.o help.o misc.o: help.h
  741.  
  742. command.o graphics.o graph3d.o misc.o plot.o setshow.o term.o: setshow.h
  743.  
  744. bitmap.o term.o: bitmap.h
  745.  
  746. ################################################################
  747. # Miscellaneous targets
  748.  
  749. SOURCES=plot.h help.h setshow.h bitmap.h term.h $(CSOURCE1) $(CSOURCE2) \
  750.     $(CSOURCE3) $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)\
  751.     $(CSOURCE8) $(NEXTSRC) $(WINDOWS) $(OS2)
  752.  
  753. DOCS  = $(DOCS1) $(DOCS2) $(DOCS3)
  754.  
  755. lint:
  756.     lint -hx $(SOURCES)
  757.  
  758. clean:
  759.     rm -f *.o *.orig *.rej *~ *.bak term/*~ term/*.orig term/*.bak
  760.     ( cd docs; $(MAKE) $(MFLAGS) clean )
  761.     ( cd docs/latextut; $(MAKE) $(MFLAGS) clean )
  762.  
  763. spotless:
  764.     rm -f *.o *~ *.orig *.rej *.bak term/*~ term/*.orig term/*.bak \
  765.     TAGS gnuplot gnuplot_x11 \
  766.     bf_test demo/binary[1-3]
  767.     ( cd docs; $(MAKE) $(MFLAGS) clean )
  768.     ( cd docs/latextut; $(MAKE) $(MFLAGS) spotless )
  769.  
  770. ################################################################
  771. # Making shar files for mailing gnuplot
  772.  
  773. shar: gnuplot.sh00 gnuplot.sh01 gnuplot.sh02 gnuplot.sh03 gnuplot.sh04 \
  774.     gnuplot.sh05 gnuplot.sh06 gnuplot.sh07 gnuplot.sh08 \
  775.     gnuplot.sh09 gnuplot.sh10 gnuplot.sh11 gnuplot.sh12 \
  776.     gnuplot.sh13 gnuplot.sh14 gnuplot.sh15 gnuplot.sh16
  777.  
  778. gnuplot.sh00:
  779.     echo '#!/bin/sh' > gnuplot.sh00
  780.     echo '# This is a shell file to make directories' >> gnuplot.sh00
  781.     echo mkdir $(DIRS) >> gnuplot.sh00
  782.  
  783. gnuplot.sh01: $(ETC)
  784.     shar $(ETC) > gnuplot.sh01
  785.  
  786. gnuplot.sh02: $(DOCS1)
  787.     shar $(DOCS1) > gnuplot.sh02
  788.  
  789. gnuplot.sh03: $(DOCS2)
  790.     shar $(DOCS2) > gnuplot.sh03
  791.  
  792. gnuplot.sh04: $(DOCS3)
  793.     shar $(DOCS3) > gnuplot.sh04
  794.  
  795. gnuplot.sh05: $(CSOURCE1)
  796.     shar $(CSOURCE1) > gnuplot.sh05
  797.  
  798. gnuplot.sh06: $(CSOURCE2)
  799.     shar $(CSOURCE2) > gnuplot.sh06
  800.  
  801. gnuplot.sh07: $(CSOURCE3)
  802.     shar $(CSOURCE3) > gnuplot.sh07
  803.  
  804. gnuplot.sh08: $(CSOURCE4)
  805.     shar $(CSOURCE4) > gnuplot.sh08
  806.  
  807. gnuplot.sh09: $(CSOURCE5)
  808.     shar $(CSOURCE5) > gnuplot.sh09
  809.  
  810. gnuplot.sh10: $(CSOURCE6)
  811.     shar $(CSOURCE6) > gnuplot.sh10
  812.  
  813. gnuplot.sh11: $(CSOURCE7)
  814.     shar $(CSOURCE7) > gnuplot.sh11
  815.  
  816. gnuplot.sh12: $(PC)
  817.     shar $(PC) > gnuplot.sh12
  818.  
  819. gnuplot.sh13: $(CSOURCE8)
  820.     shar $(CSOURCE8) > gnuplot.sh13
  821.  
  822. gnuplot.sh14: $(DEMOS)
  823.     shar $(DEMOS) > gnuplot.sh14
  824.  
  825. gnuplot.sh15: $(WINDOWS)
  826.     shar $(WINDOWS) > gnuplot.sh15
  827.  
  828. gnuplot.sh16: $(BETA)
  829.     shar $(BETA) > gnuplot.sh16
  830.  
  831. tar: $(ETC) $(SOURCES) $(PC) $(DEMOS) $(BETA) $(DOCS)
  832.     $(TAR) cvf /tmp/gnuplot.tar $(ETC) $(SOURCES) $(PC)\
  833.          $(DEMOS) $(BETA) $(DOCS)
  834. #
  835. # the following uses Rick Saltz's makekit shar generation tools
  836. #
  837.  
  838. kit: $(ETC) $(SOURCES) $(PC) $(DEMOS) $(BETA) $(DOCS)
  839.     makekit -s135k -k30 $(ETC) $(SOURCES) $(PC)\
  840.          $(DEMOS) $(BETA) $(DOCS) MANIFEST
  841.  
  842. branch: rcs rcsdoc rcsdemo
  843.  
  844. rcs:
  845.     rcs -b$(RCSVER) $(ETC) $(SOURCES) $(PC)
  846.  
  847. rcsdoc:
  848.     rcs -b$(RCSVER) $(DOCS)
  849.  
  850. rcsdemo:
  851.     rcs -b$(RCSVER) $(DEMOS)
  852.  
  853. ciall: ci cidoc cidemo
  854.  
  855. ci:
  856.     ci -l$(RCSVER) -m$(RCSCOM) -t-$(RCSCOM) $(SOURCES) $(PC) $(ETC)
  857.  
  858. cidoc:
  859.     ci -l$(RCSVER) -m$(RCSCOM) -t-$(RCSCOM) $(DOCS)
  860.  
  861. cidemo:
  862.     ci -l$(RCSVER) -m$(RCSCOM) -t-$(RCSCOM) $(DEMOS)
  863.  
  864. ciforce:
  865.     ci -f$(RCSVER) -m$(RCSCOM) -t-$(RCSCOM) $(SOURCES) $(ETC)
  866.     ci -f$(RCSVER) -m$(RCSCOM) -t-$(RCSCOM) $(DOCS) $(DEMOS)
  867.     ci -f$(RCSVER) -m$(RCSCOM) -t-$(RCSCOM) $(PC)
  868.  
  869. coall: co codoc codemo
  870.  
  871. co:
  872.     co -l -r$(RCSVER) $(ETC) $(SOURCES) $(PC)
  873.  
  874. codoc:
  875.     co -l -r$(RCSVER) $(DOCS)
  876.  
  877. codemo:
  878.     co -l -r$(RCSVER) $(DEMOS)
  879.